/**
 * creation: 14-mrt-2008
 */
package org.jfonia.connect.logic;

import org.jfonia.connect.BasicNode;
import org.jfonia.connect.Value;

/**
 * @author wijnand.schepens@gmail.com
 *
 */
public class IntGreaterThanOrEqual extends BasicNode implements Value<Boolean>
{
	private Value<Integer> source1;
	private Value<Integer> source2;
	
	public IntGreaterThanOrEqual(Value<Integer> source1, Value<Integer> source2)
	{
		this.source1 = source1;
		this.source2 = source2;
	}

	public Boolean get()
	{
		return source1.get().intValue() >= source2.get().intValue();
	}	
}
